) Class diagram relationship settingsDependency Settings :-- set the class connection :--click the arrow to enter the arrow edit mode : After entering the arrow edit mode, there will be a red shadow;-- Set the connection type :-- Set the starting point :-- Set the end point :(2) Dependency settingsSet Dependency : Class A relies on Class B, that is, Class A uses class B;-- Set the curve style :-- Set the end point :-- Final effect :(3) Generalization relationship settingPan-China relationship :
The previous section describes how to embed and reference A mongodb document. There are still many differences between MongoDB and relational database modeling, because MongoDB supports embedded objects and array types. Two approaches are available for MongoDB
TurnThis blog post is translated from:http://blog.mongodb.org/post/87200945828/6-rules-of-thumb-for-mongodb-schema-design-part-1?mkt_tok= 3rkmmjwwff9wsronsq7ldu%2fhmjteu5z14uusukgxhokz2efye%2blihetpodcmtcvnm7zydbceejhqyqjxpr3fldcn0tjurhtrcw%3d%3dNote: This translation is not strictly translated, but is expressed as clearly as possible based on the understanding of the original. If you have any questions or concerns, please refer to the original.Many f
= db.products.findOne({catalog_number: 1234}); // Fetch all the Parts that are linked to this Product> product_parts = db.parts.find({_id: { $in : product.parts } } ).toArray() ;The advantages and disadvantages of this modeling method are also obvious:
Advantage: Parts exist as independent documents. You can perform independent operations on a part, such as querying or updating.
Disadvantage: As shown above, you must query it twice to find informat
MongoDB Data Link Modeling
The data in MongoDB is very flexible, and the collection does not require a uniform structure for documents. However, seriously considering the data model is still very important, because it will affect application performance and database capabilities. This article describes common one-to-one and one-to-many relationship models in
This blog is translated from:
Http://blog.mongodb.org/post/87200945828/6-rules-of-thumb-for-mongodb-schema-design-part-1? Mkt_tok = 3RkMMJWWfF9wsRonsq7Ldu % 2FhmjTEU5z14uUsUKGxhokz2EFye % 3D % 3D
Note: This translation is not strictly translated. It is only based on the understanding of the original article and can be clearly expressed as much as possible. If you have any questions or problems, refer to the original article.
Many people who have just
Tag: Person obj res produces object mbed SQL friend arrayThis blog post is translated from:http://blog.mongodb.org/post/87200945828/6-rules-of-thumb-for-mongodb-schema-design-part-1?mkt_tok= 3rkmmjwwff9wsronsq7ldu%2fhmjteu5z14uusukgxhokz2efye%2blihetpodcmtcvnm7zydbceejhqyqjxpr3fldcn0tjurhtrcw%3d%3dNote: This translation is not strictly translated, but is expressed as clearly as possible based on the understanding of the original. If in doubt or inappr
Label:Good writing, very detailed analysis of different scenarios of the different models This blog post is translated from: http://blog.mongodb.org/post/87200945828/6-rules-of-thumb-for-mongodb-schema-design-part-1?mkt_tok= 3rkmmjwwff9wsronsq7ldu%2fhmjteu5z14uusukgxhokz2efye%2blihetpodcmtcvnm7zydbceejhqyqjxpr3fldcn0tjurhtrcw%3d%3d Note: This translation is not strictly translated, but is expressed as clearly as possible based on the understanding of
This blog post is translated from:http://blog.mongodb.org/post/87200945828/6-rules-of-thumb-for-mongodb-schema-design-part-1?mkt_tok= 3rkmmjwwff9wsronsq7ldu%2fhmjteu5z14uusukgxhokz2efye%2blihetpodcmtcvnm7zydbceejhqyqjxpr3fldcn0tjurhtrcw%3d%3dNote: This translation is not strictly translated, but is expressed as clearly as possible based on the understanding of the original. If you have any questions or concerns, please refer to the original.Many frien
One to one relationship: Embed, such as the user information collection has an address field, the Address field has three fields of province, city and county. The modeling is as follows:650) this.width=650; "class=" Fit-image "title=" QQ20120725190049 "alt=" QQ20120725190049 "src="/HTTP/ Images.51cto.com/files/uploadimg/20120726/0833430.jpg "border=" 0 "/>650) this.width=650; "class=" Fit-image "title=" QQ20120725185306 "alt=" QQ20120725185306 "src="/
Definition: divides an application into many small pieces (objects) using the object-oriented method. These objects are independent and then combine these objects to create programs.
Features: packaging, inheritance, and polymorphism.
Commonly used modeling tools: playcase, Rational Rose, Computer Association bpwin, Computer Association Erwin, oracle designer/2000, Sybase powerdesigner
UML language Overview
Definition: a unified object-oriented
Tutorials to teach friends to use PS Vector modeling tool Redraw logo, the tutorial belongs to a relatively simple tool introduction, difficulty general.
Remember just start work, every month to buy about 100 yuan book, the Most happy thing is to buy a good book home overnight look, a long time, the design of this line of books more and more, more and more confu
Overview
In this ever-changing era of object-oriented application development, it is increasingly difficult to develop and manage high-quality applications within a reasonable period of time. In order to face this challenge, a general object model Language (UML) that every company can use is developed ). UML is a blueprint for the information technology industry and a method to describe the system structure in detail. Using this blueprint, we are increasingly easy to establish and maintain syst
Due to the need to record increasingly complex data warehouse implementations, IT staff in the U.S. Omaha Public Power Division had to purchase a new set of graphical data modeling tools, but it was almost impossible to obtain approval from the parent company for the project.
The utilities were responsible for providing electricity to most of the Nebraska State, and they decided to purchase Er/studio XE data mode
VISSIM.V8.0A23 Traffic Simulation Modeling toolPtv-vissim is a microscopic, time-lapse and driving behavior-based simulation modeling tool for traffic modeling of urban traffic and public transport operations. It can analyze various traffic conditions, such as lane setting, traffic composition, traffic signal, bus stat
Sage.informatics Products:Chemtk.v4.2.1.winall 1CD (Chemical tools under Windows systems, providing low-cost research tools for the pharmaceutical or biotech industry)Merck.index.13th.edition.v13.1-iso 1CD (Merck Chemical reference, more than 10,000 monographs, chemicals, pharmaceuticals, biologicals, etc.) Wavefunction Products:spartan.08.v1.1 1CD (multifunctional chemical software) Fujitsu Products:Cache.v7.5.0.85-iso 1CD (unique desktop-based molecular structure package)Materials Explorer v4.
According to the Poseidon for UML 2.0 published this month, gentleware has a place among the leader in the new Unified Modeling Language (UML) 2.0 specification modeling tool.
Marko Boger is the CEO and entrepreneur of gentleware, headquartered in Hamburg, Germany. He thinks his company is the leader in the competition to achieve UML 2.0. Boger introduces that
IntroductionThe evaluation of several modeling tools was highlighted in the previous blog, and SQL Power architect was selected as the final modeling tool, and the Oracle Data Modeler support Vertica was also studied during the evaluation process, although the eventual abandonment of Oracle data Modeler, but the scalability of Oracle Data Modeler is worth bloggin
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.